<template>
	<view class="container">
		<view class="account">
			<view class="title">
				申请注销该账号
			</view>
			<view class="info">
				<image :src="$img_path('/mall/5.png')" mode="aspectFill"></image>
				<view>
					<view class="name">
						用户名称
					</view>
					<view class="phone">
						123****7891
					</view>
					<view class="type">
						注册方式：微信授权注册
					</view>
				</view>
			</view>
		</view>
		<view class="content">
			<view class="title">
				注销该账号必须满足以下条件：
			</view>
			
			<view class="item">
				<view class="index">
					<text>1.账号处于正常使用，无安全风险</text>
					<image :src="$img_path('/mall/18.png')" mode="widthFix"></image>
				</view>
				<view class="text">
					近14天未进行找回密码、修改密码、换绑手机号的操作。
				</view>
			</view>
			<view class="item">
				<view class="index">
					<text>2.账号无其他进行中的业务关系</text>
					<image :src="$img_path('/mall/18.png')" mode="widthFix"></image>
				</view>
				<view class="text">
					当前无购买任何商品。
				</view>
			</view>
		</view>
		
		
		<view class="b-btn">
			<button @click="submit()">立即注销</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		onShow() {
		},
		methods:{
			
			submit(){
			}
		}
	}
</script>

<style>
	page {
		background-color: #FFFFFF;
	}
</style>
<style lang="scss" scoped>
.container{
	
	.account{
		padding: 42rpx 32rpx 28rpx;
		border-bottom: 20rpx solid #F5F5F5;
		.title{
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
			line-height: 45rpx;
			text-align: left;
			font-style: normal;
			text-transform: none;
		}
		.info{
			display: flex;
			align-items: center;
			margin-top: 30rpx;
			image{
				width: 120rpx;
				height: 120rpx;
				border-radius: 50%;
			}
			&>view{
				width: calc(100% - 120rpx);
				padding-left: 20rpx;
				.name{
					font-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 28rpx;
					color: #333333;
					line-height: 40rpx;
					text-align: left;
					font-style: normal;
					text-transform: none;
				}
				.phone,.type{
					font-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 28rpx;
					color: #333333;
					line-height: 40rpx;
					text-align: left;
					font-style: normal;
					text-transform: none;
					margin-top: 4rpx;
				}
			}
		}
	}
	.content{
		padding: 0 34rpx;
		.title{
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 32rpx;
			color: #333333;
			line-height: 45rpx;
			text-align: left;
			font-style: normal;
			text-transform: none;
			padding-top: 40rpx;
		}
		.item{
			margin-top: 30rpx;
			.index{
				margin-bottom: 10rpx;
				display: flex;
				align-items: center;
				justify-content: space-between;
				text{
					font-weight: 400;
					font-size: 28rpx;
					color: #333333;
					line-height: 48rpx;
				}
				image{
					width: 40rpx;
					height: 40rpx;
				}
			}
			.text{
				font-weight: 400;
				font-size: 28rpx;
				color: #333333;
				line-height: 48rpx;
			}
		}
	}
	
	
	.b-btn{
		margin-top: 168rpx;
		width: 100%;
		padding-bottom: calc(constant(safe-area-inset-bottom) + 80rpx);
		padding-bottom: calc(env(safe-area-inset-bottom) + 80rpx);
		padding: 0 22rpx;
		box-sizing: border-box;
		// background-color: #ffffff;
		button{
			width: 100%;
			height: 96rpx;
			border-radius: 48rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 36rpx;
			background-color: #FF4A4A;
			color: #FFFFFF;
			line-height: 96rpx;
			text-align: center;
			font-style: normal;
			text-transform: none;
			margin: 0 auto;
		}
	}
}
</style>
